package com.itguigu.fruit.dao.impl;

import com.atguigu.mymvc.dao.BaseDao;
import com.itguigu.fruit.dao.FruitDao;
import com.itguigu.fruit.pojo.Fruit;

public class FruitDaoImpl extends BaseDao<Fruit> implements FruitDao {
    @Override
    public void addFruit(Fruit fruit) {
        super.executeUpdate("insert into t_fruit values(0,?,?,?,?)", fruit.getFname(), fruit.getPrice(), fruit.getFcount(), fruit.getRemark());
    }



}
